<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>十五组</title>
</head>

<body>
    <script>
        let arr = new Array()
        for (let i = 1; i < 5; i++) {
            let username = prompt('请输入小组成员')
            arr[i] = username
            document.write(`第十五组的成员有：${arr[i]}<br>`)
            if (arr[i] === '郭兵') {
                // document.write(`arr[i]<br>`)
                document.write(`这是我自己<br>`)
            }

        }

    </script>
</body>

</html>